const mongoose = require('mongoose')

const Schema = mongoose.Schema

let ObjectId = Schema.ObjectId

const articleSchema = new Schema({
    ArticleId:ObjectId,
    title:String,
    editorContent:String,
    categories:String,
    time:String
})


mongoose.model('Article',articleSchema)